FROM store/oracle/serverjre:8

MAINTAINER L <L@gmail.com>

COPY ./build/libs/*.jar /app/
COPY ./docker-entrypoint.sh /app/
RUN chmod +x /app/docker-entrypoint.sh
WORKDIR /app

EXPOSE 8761
ENTRYPOINT ["./docker-entrypoint.sh"]
